﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using KPIS.GERP.GIMS.MODEL;
using KPIS.GERP.GIMS.DAL;
using KPIS.GERP.GIMS.DALFactory;

namespace KPIS.GERP.GIMS.BLL
{
    public class ProgressPurchaseOrderBLL
    {
        private static readonly ProgressPurchaseOrderDAL dal = DataAccess.CreateProgressPurchaseOrder();

        public ProgressPurchaseOrderBLL()
        {

        }

        public IList<PurchaseOrderRouteInfo> GetPurchaseOrderApprove()
        {
            return dal.GetPurchaseOrderApprove();
        }

        public IList<PurchaseOrderRouteInfo> GetPurchaseOrderInform()
        {
            return dal.GetPurchaseOrderInform();
        }

        public IList<PurchaseOrderRouteHistoryInfo> GetPurchaseOrderApproveHistory()
        {
            return dal.GetPurchaseOrderApproveHistory();
        }

        public IList<PurchaseOrderRouteHistoryInfo> GetPurchaseOrderInformHistory()
        {
            return dal.GetPurchaseOrderInformHistory();
        }

        public IList<PurchaseOrderInfo> GetPurchaseRequest()
        {
            return dal.GetPurchaseRequest();
        }

        public IList<PurchaseOrderRouteInfo> GetPurchaseRequestRoute()
        {
            return dal.GetPurchaseRequestRoute();
        }

        public IList<BidInfo> GetBid()
        {
            return dal.GetBid();
        }

        public IList<BidRouteInfo> GetBidRoute()
        {
            return dal.GetBidRoute();
        }

        public IList<PurchaseOrderInfo> GetPurchaseOrder()
        {
            return dal.GetPurchaseOrder();
        }

        public IList<PurchaseOrderRouteInfo> GetPurchaseOrderRoute()
        {
            return dal.GetPurchaseOrderRoute();
        }

        public IList<DeliveryNoteInfo> GetDeliveryNote()
        {
            return dal.GetDeliveryNote();
        }

        public IList<DeliveryNoteRouteInfo> GetDeliveryNoteRoute()
        {
            return dal.GetDeliveryNoteRoute();
        }
    }
}
